cmake_minimum_required(VERSION 3.4.1)
set(CMAKE_CXX_STANDARD 14)
project(nanodet_demo)
set(InferenceEngine_DIR /opt/intel/openvino_2021.4.752/deployment_tools/inference_engine/share)
find_package(OpenCV REQUIRED)
message(${OpenCV_DIR})
message(${InferenceEngine_DIR})


find_package(InferenceEngine REQUIRED)
find_package(ngraph REQUIRED)

include_directories(
    ${OpenCV_INCLUDE_DIRS}
    ${CMAKE_CURRENT_SOURCE_DIR}
    ${CMAKE_CURRENT_BINARY_DIR}
)

add_executable(nanodet_demo main.cpp nanodet_openvino.cpp four_points.cpp)

target_link_libraries(
    nanodet_demo
    ${InferenceEngine_LIBRARIES}
    ${NGRAPH_LIBRARIES}
    ${OpenCV_LIBS}
)
